package com.patternsbox.behavioral.mediator;

class ConcreteColleague1 extends Colleague {

	public ConcreteColleague1(Mediator m) {
		super(m);
	}

	@Override
	public void notify(String message) {
		System.out.println("Colleague1 gets message: " + message);
	}

	@Override
	public void send(String message) {
		mediator.send(message, this);
	}
}
